Skip to content

[WIP] DMET Demo #1330

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

[WIP] DMET Demo #1330

wants to merge 21 commits into from

Conversation

ddhawan11
Copy link
Contributor

@ddhawan11 ddhawan11 commented Mar 17, 2025

Before submitting

Please complete the following checklist when submitting a PR:

  • Ensure that your tutorial executes correctly, and conforms to the
    guidelines specified in the README.

  • Remember to do a grammar check of the content you include.

  • All tutorials conform to
    PEP8 standards.
    To auto format files, simply pip install black, and then
    run black -l 100 path/to/file.py.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Title:
Density Matrix Embedding Theory (DMET) Demo
Summary:
This demo outlines the basics of density matrix embedding theory, and provides instructions on how to execute the method.
Relevant references:

Possible Drawbacks:

Related GitHub Issues:


If you are writing a demonstration, please answer these questions to facilitate the marketing process.

  • GOALS — Why are we working on this now?

    Eg. Promote a new PL feature or show a PL implementation of a recent paper.

  • AUDIENCE — Who is this for?

    Eg. Chemistry researchers, PL educators, beginners in quantum computing.

  • KEYWORDS — What words should be included in the marketing post?

  • Which of the following types of documentation is most similar to your file?
    (more details here)

  • Tutorial
  • Demo
  • How-to

Copy link

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes are reflected in Glass Onion (search and recommendations).

Please hide this comment once the field(s) are updated. Thanks!

@ddhawan11 ddhawan11 marked this pull request as draft March 17, 2025 16:00
@ddhawan11 ddhawan11 changed the title DMET Demo [WIP] DMET Demo Mar 17, 2025
ddhawan11 and others added 5 commits March 25, 2025 14:35
Co-authored-by: Soran Jahangiri <40344468+soranjh@users.noreply.github.com>
Co-authored-by: Soran Jahangiri <40344468+soranjh@users.noreply.github.com>
Co-authored-by: Soran Jahangiri <40344468+soranjh@users.noreply.github.com>
Co-authored-by: Soran Jahangiri <40344468+soranjh@users.noreply.github.com>
@ddhawan11 ddhawan11 requested a review from soranjh March 27, 2025 16:16
print("embedding energy: ", energy_emb)

######################################################################
# We can also get ground state energy for the system from this value by solving for the full system
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this sentence still relevant? The energy obtained above is not the ground state energy of the whole system?

# as done above in the self-consistency loop using solve_full_system function.

######################################################################
# Conclusion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section can be further improved, e.g., by adding:

  1. How DMET can be integrated in a quantum algorithm? What are the options and what are the pros and cons of each? Which option is recommended?
  2. What are the limitations of DMET?
  3. [this one is optional] How DMET helps with a more practical calculations, e.g., simulating a battery material or an inorganic complex of interest?

@soranjh soranjh marked this pull request as ready for review May 1, 2025 15:52
Copy link

github-actions bot commented May 1, 2025

Thank you for opening this pull request.

You can find the built site at this link.

Deployment Info:

  • Pull Request ID: 1330
  • Deployment SHA: 37eb633f9ad1fe334f4246c90141e3547cc08a94
    (The Deployment SHA refers to the latest commit hash the docs were built from)

Note: It may take several minutes for updates to this pull request to be reflected on the deployed site.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants